module.exports = {
  textList: {
    type: Array,
    default: function () {
      return [
        {
          content: '我是第一行'
        },
        {
          content: '我是第二行'
        },
        {
          content: '我是第三行'
        },
        {
          content: '我是第6行'
        }
      ]
    },
    name: '文本组内容',
    filedType: 'api'
  },

  bgColor: {
    type: String,
    default: '#fff',
    name: '文本块背景',
    filedType: 'color'
  },

  padding: {
    type: String,
    default: '10px',
    name: '文本块内边距',
    filedType: 'string'
  },

  textRadius: {
    type: String,
    default: '10px',
    name: '文本组圆角设置',
    filedType: 'string'
  },

  lineHeight: {
    type: String,
    default: '20px',
    name: '行高',
    filedType: 'string'
  },

  letterSpacing: {
    type: String,
    default: 'inherit',
    name: '字间距',
    filedType: 'string'
  },

  fontFamily: {
    type: Array,
    default: '微软雅黑',
    name: '字体',
    filedType: 'select',
    options: [
      {
        name: '微软雅黑',
        value: 'Microsoft YaHei'
      },
      {
        name: '宋体',
        value: '宋体'
      },
      {
        name: '继承父元素',
        value: 'inherit'
      },
      {
        name: 'Arial',
        value: 'Arial'
      },
      {
        name: 'Helvetica Neue',
        value: 'Helvetica Neue'
      },
      {
        name: 'Helvetica',
        value: 'Helvetica'
      }
    ]
  },

  fontSize: {
    type: String,
    default: '14px',
    name: '字号',
    filedType: 'string'
  },

  fontWeight: {
    type: Boolean,
    default: true,
    name: '显示为粗体',
    filedType: 'switch'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  align: {
    type: String,
    default: 'left',
    name: '对齐方式',
    filedType: 'select',
    options: [
      {
        name: '左对齐',
        value: 'left'
      },
      {
        name: '居中',
        value: 'center'
      },
      {
        name: '右对齐',
        value: 'right'
      },
      {
        name: '两端对齐',
        value: 'justify'
      }
    ]
  },

  highlightTextFontSize: {
    type: String,
    default: '14px',
    name: '高亮文本字号',
    filedType: 'string'
  },

  highlightTextColor: {
    type: String,
    default: '#ff8314',
    name: '高亮文本颜色',
    filedType: 'color'
  },

  highlightTextIsBold: {
    type: String,
    default: false,
    name: '高亮文本显示为粗体',
    filedType: 'switch'
  },

  isSingle: {
    type: Boolean,
    default: true,
    name: '是否单行显示',
    filedType: 'switch'
  },

  collapseBtnColor: {
    type: String,
    default: '#ff8314',
    name: '高亮文本颜色',
    filedType: 'color'
  },

  navSpacing: {
    type: String,
    default: '10px',
    name: '多行文本间距',
    filedType: 'string'
  }
}

// Helvetica Neue,,宋体,Arial,Helvetica,sans-serif
